body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    position: sticky;
    top: 0;
    background-color: #f4f4f4;
    z-index: 100;
}

hr {
    margin: 20px 0;
    border: 1px solid #ddd;
}

.link-style {
    text-decoration: none;
    color: #007bff;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.link-style:hover {
    background-color: #0056b3;
    color: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

#comForm {
    margin-bottom: 10px;
}

#comName {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

input[type="submit"] {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

input[type="checkbox"] {
    margin-right: 5px;
}
.container img {
    display: block; /* 使图片独占一行 */
    margin: 0 auto; /* 图片水平居中 */
    width: 40%; /* 宽度自适应表格宽度 */
    max-width: 250px; /* 设置最大宽度，防止图片过大 */
    height: auto; /* 高度自适应 */
}